package com.zhijiang.hospital.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zhijiang.common.util.NucleicQuery;
import com.zhijiang.hospital.entrty.dto.LisTestRegDto;
import com.zhijiang.hospital.entrty.dto.NucleicDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2022-12-14 09:22:08
 */
@DS("master")
@Mapper
public interface PeopleNucleicMapper {
    //String findPeopleNucleicCount(@Param("nucleicQuery")NucleicQuery nucleicQuery);
    Long findPeopleNucleicCount(@RequestParam("startTime")String startTime,
                                      @RequestParam("endTime")String endTime);

    Long findNucleicPositiveCount(@RequestParam("startTime")String startTime,
                                    @RequestParam("endTime")String endTime);

    Long findNucleicNegativeCount(@RequestParam("startTime")String startTime,
                                    @RequestParam("endTime")String endTime);

    //List<LisTestRegDto> findPeoPleData(@RequestParam("startTime")String startTime,
    //                                   @RequestParam("endTime")String endTime,
    //                                   @RequestParam("keyWord")String keyWord);

    List<LisTestRegDto> findPeopleNucleicData(@RequestParam("startTime")String startTime,
                                              @RequestParam("endTime")String endTime,
                                              @RequestParam("keyWord")String keyWord);
    //fan
 //  Long findCount(NucleicQuery nucleicQuery);
}
